<?php

	include("../../../class/function.php"); 	

	$rif = $_GET['rif'];

	$query="SELECT rif_ente_financiero FROM t_cman_entes_financieros";
	$result= ejecutar($query);
	$var=2;
	
	while ($arreglo=pg_fetch_array($result)){
		if ($rif==$arreglo["rif_ente_financiero"]){
			$var=1;
			echo $var;
			break;
		}
	}
	if ($var!=1){
		$var=0;
		echo $var;
	}

?>